//----------------------------------Include-------------------------------------
#include "mcu.h"
#include "board.h"
//------------------------------------------------------------------------------

//--------------------------------Public Func-----------------------------------
void brd_init(void)
{
  mcu_int_disable();
  mcu_mpu_memory_protection();
  mcu_pri_grp_cfg();
  mcu_sys_clock();
  mcu_init_systick();
  
  mcu_init_do();
  mcu_init_di();

  mcu_init_adc();
  mcu_init_pit();        //adc trigger
  
  brd_sdram_init();
  
  mcu_int_enable();
}
//------------------------------------EOF---------------------------------------



